package com.flyco.modules.task.xml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

@XStreamAlias("OutputStock")
@Data
public class SapProductStockRespXML {

    @XStreamImplicit(itemFieldName = "item")
    private List<ProductStockItem> itemList = new ArrayList<>();

    @Data
    @XStreamAlias("item")
    public class ProductStockItem {

        @XStreamAlias("Matnr")
        private String Matnr;

        @XStreamAlias("Labst")
        private String Labst;

        @XStreamAlias("AtpStock")
        private String AtpStock;

        @XStreamAlias("Meins")
        private String Meins;

        @XStreamAlias("ZSlck")
        private String ZSlck;

    }
}
